<html><head><title>DeleteFTPFile</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">DeleteFTPFile()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>DeleteFTPFile</b></font>(#Ftp, Filename$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Deletes a file on the FTP server. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Ftp</i></td>
<td width="90%"> 
The connection to use. 

</td></tr>
<tr><td><i>Filename$</i></td>
<td> 
The file to delete. The file has to be in the current directory (see <a href="getftpdirectory.html">GetFTPDirectory()</a> 
and <a href="setftpdirectory.html">SetFTPDirectory()</a>). It is not possible to specify a subpath in the Filename$. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the file was deleted or zero if the operation failed. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="sendftpfile.html">SendFTPFile()</a>, <a href="setftpdirectory.html">SetFTPDirectory()</a>, <a href="getftpdirectory.html">GetFTPDirectory()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=deleteftpdirectory.html>DeleteFTPDirectory()</a> - <a href=index.html>Ftp Index</a> - <a href=examineftpdirectory.html>ExamineFTPDirectory()</a> ->

</body></html>